package com.easy.common.bean;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("`seckill`")  // 关键修改：添加表名注解并用反引号包围
public class Seckill {
    private Integer id;
    private String title;
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private Integer status;
    private String desc;
    @TableLogic//软删除
    private Integer isdel;
    private LocalDateTime createtime;
    private LocalDateTime updatetime;


}
